package com.reider.log4AS3.appenders
{
	import com.reider.log4AS3.dataholder.Log;
	
	
	/**
	 * This Appender can be used to write logging info to the flash console.
	 */
	 
	public class ConsoleAppender extends Appender
	{
		
		/**
		 * @private
		 */
		public function ConsoleAppender(name:String)
		{
			super(name)
		}
		
		/**
		 * @private
		 */
		
		override public function print(log:Log):void
		{
			trace(log.formattedText)
		}

	}
}